package com.bdzl.admin.service.sys.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bdzl.admin.dao.sys.OrgEntDao;
import com.bdzl.pub.entity.sys.OrgEntDO;
import com.bdzl.admin.service.sys.OrgEntService;



@Service
public class OrgEntServiceImpl implements OrgEntService {
	@Autowired
	private OrgEntDao orgEntDao;
	
	@Override
	public OrgEntDO get(Integer soeId){
		return orgEntDao.get(soeId);
	}

	@Override
	public OrgEntDO getBySoeOrg(String soeOrg) {
		return orgEntDao.getBySoeOrg(soeOrg);
	}

	@Override
	public List<OrgEntDO> list(Map<String, Object> map){
		return orgEntDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return orgEntDao.count(map);
	}
	
	@Override
	public int save(OrgEntDO orgEnt){
		return orgEntDao.save(orgEnt);
	}
	
	@Override
	public int update(OrgEntDO orgEnt){
		return orgEntDao.update(orgEnt);
	}
	
	@Override
	public int remove(Integer soeId){
		return orgEntDao.remove(soeId);
	}
	
	@Override
	public int batchRemove(Integer[] soeIds){
		return orgEntDao.batchRemove(soeIds);
	}
	
}
